package com.huang.we_chart.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * (Building)表实体类
 *
 * @author HuangShen
 * @since 2020-11-29 10:11:42
 */
@SuppressWarnings("serial")
public class Building extends Model<Building> {
    //楼号
    private String buildingId;
    //楼名字
    private String buildingName;
    //校区
    private String buildingArea;
    //高度
    private Integer buildingHeight;
    //中区 东区 西区
    private String buildingType;


    public String getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(String buildingId) {
        this.buildingId = buildingId;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public String getBuildingArea() {
        return buildingArea;
    }

    public void setBuildingArea(String buildingArea) {
        this.buildingArea = buildingArea;
    }

    public Integer getBuildingHeight() {
        return buildingHeight;
    }

    public void setBuildingHeight(Integer buildingHeight) {
        this.buildingHeight = buildingHeight;
    }

    public String getBuildingType() {
        return buildingType;
    }

    public void setBuildingType(String buildingType) {
        this.buildingType = buildingType;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.buildingId;
    }
}